setStrokeDashOffset

abstract fun setStrokeDashOffset(block: DesignBlock, dashOffset: Float)

Set the dash offset of the given design block's stroke. Semantics match SVG's stroke-dashoffset. Ignored when the custom dash pattern is empty. Required scope: "stroke/change"

Parameters

block

the block whose stroke dash offset should be set.

dashOffset

the dash offset in design-unit space.